{section name=i loop=$error}
{$error[i].name}{$error[i].message}
{/section}